add privileged/unprivileged kernel feature indication
authorJan Beulich <jbeulich@novell.com>
Fri, 8 Jul 2011 07:34:29 +0000 (08:34 +0100)
committerJan Beulich <jbeulich@novell.com>
Fri, 8 Jul 2011 07:34:29 +0000 (08:34 +0100)
commitfe15cd0fb6d1622dbd04c2c227a368593c23b9af
tree49240004680441cc49865594022306d110933ea4
parent4776f8ddd2f2ce957f4965d94709285621933dcc
add privileged/unprivileged kernel feature indication

With our switching away from supporting 32-bit Dom0 operation, users
complained that attempts (perhaps due to lack of knowledge of that
change) to boot the no longer privileged kernel in Dom0 resulted in
apparently silent failure. To make the mismatch explicit and visible,
add feature flags that the kernel can set to indicate operation in
what modes it supports. For backward compatibility, absence of both
feature flags is taken to indicate a kernel that may be capable of
operating in both modes.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
tools/libxc/xc_dom_elfloader.c
xen/arch/ia64/xen/domain.c
xen/arch/x86/domain_build.c
xen/common/kernel.c
xen/common/libelf/libelf-dominfo.c
xen/include/public/features.h